sql控制流if()、case when then tb_user: 1、if (expr1,expr2,expr3) #如果expr1成立,則返回expr2,否則返回expr3示例:select name, if ( ...